package com.zhangfei.service;

import com.zhangfei.selector.PayTypeEnum;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 支付宝付款
 */
@Slf4j
@Component
public class ZhiFuBaoPayHandler extends AbstractPayHandler {


    @Override
    public PayTypeEnum getPayTypeEnum() {
        return PayTypeEnum.ZHIFUBAO;
    }

    @Override
    protected void doSaveMessage(String paymessage) {

    }

    @Override
    protected String doQueryMessage(String paymessage) {

        return "支付宝支付成功";
    }


}
